import React from "react";
import "./02-style.css";
const App = () => {
  return (
    <>
      <h2>class添加样式</h2>
      {/* 添加class的时候，要写成className */}
      <p className="font" id="box">
        hello react!
      </p>

      <label htmlFor="username">姓名：</label>
      <input type="text" placeholder="请输入姓名" id="username" />
    </>
  );
};

export default App;
